package com.wtwd.device.service;


import com.wtwd.device.model.entity.SportModeInfo;
import com.wtwd.device.model.vo.RespEntity;

/**
 * @author mjy
 * @date 2021/08/31
 * @description
 */
public interface AppSportRecordService {
    RespEntity getSportRecordListByDeviceId(Long deviceId);

    RespEntity addSportRecord(SportModeInfo sportRecord);

    RespEntity<SportModeInfo> getLastSportRecordByDeviceId(Long deviceId);

    Integer clearSportRecordByDate(String date);

    Integer deleteSportRecordByDeviceId(Long id);

}
